#include <my_head.h>

int main(int argc, const char *argv[])
{
    key_t my_key = ftok("/home", 'B');
    if(-1 == my_key)
        ERR_LOG("ftok error");
    printf("my_key = %d\n", my_key);
    return 0;
}